<template>
    <div class="goods">
      <el-breadcrumb separator="/" class="bread">
        <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item><a href="/">权限管理</a></el-breadcrumb-item>
        <el-breadcrumb-item>权限列表</el-breadcrumb-item>
      </el-breadcrumb>
      <el-button type="primary" plain @click="jumpToAdd">点击添加</el-button>
    </div>
</template>
<script>
export default {
  methods: {
    jumpToAdd () {
      this.$router.push({ name: 'goodadd' })
    }
  }
}
</script>

<style lang="scss" scoped>
.bread {
  background-color: #F5F5F5;
  height: 45px;
  font-size: 15px;
  padding-left: 10px;
  line-height: 45px;
  margin-bottom: 15px;
}
.el-button{
    margin-bottom: 15px;
}
</style>
